.container-login {
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3); /* 增加背景阴影效果，让登录框更突出 */
}

.login-dialog {
    width: 350px;
    height: 350px;
    background-color: rgba(255, 255, 255, 0.9); /* 提高透明度，让背景看起来更干净 */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-dialog h3 {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.login-dialog .row {
    width: 100%;
    height: 50px;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-dialog .row > input {
    width: 220px;
    height: 35px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    padding-left: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease; /* 添加过渡效果 */
}

.login-dialog .row > input:focus {
    border-color: #4caf50; /* 聚焦时边框颜色变为绿色 */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3); /* 聚焦时边框增加绿色阴影 */
}

.login-dialog #submit {
    width: 280px;
    height: 45px;
    background-color: #4caf50;
    color: white;
    border-radius: 10px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* 增加悬停效果 */
}

.login-dialog #submit:hover {
    background-color: #45a049; /* 悬停时按钮颜色变暗 */
    transform: scale(1.05); /* 按钮放大效果 */
}

.login-dialog #submit:active {
    background-color: #388e3c; /* 按钮点击时颜色加深 */
    transform: scale(0.98); /* 按钮按下时缩小 */
}
